//
//  ZWKHeaderView.h
//  ZWKPicLoop
//
//  Created by MS on 15/11/19.
//
//

#import <UIKit/UIKit.h>

@class ZWKHeaderView;
@protocol ZWKHeaderViewDelegate <NSObject>

- (void)headerViewDidSelected:(ZWKHeaderView *)headerView atIndex:(NSInteger)index;

@end
@interface ZWKHeaderView : UIView
+ (id)headView;
@property (nonatomic,weak) NSArray * imageNames;
@property (nonatomic,assign) float fireSeconds;//多少秒之后开始自动循环，默认是2.0s
@property (nonatomic,assign) float timerInterval;//切换图片的间隔默认是 2.0s
@property (nonatomic,strong) UIColor *currentPageIndicatorTintColor;//pageControl的背景色，默认是蓝色
@property (nonatomic,strong) UIColor *pageIndicatorTintColor;//pageControl的前景色，默认是红色
@property (nonatomic,assign) id<ZWKHeaderViewDelegate> delegate;
@end
